<template>
  <tab-bar>
    <tab-bar-item path="/home" >
      <img src="~assets/img/tabbar/home.png" slot="item-icon">
      <img src="~assets/img/tabbar/home_active.png" slot="item-icon-active">
      <div slot="item-text">首页</div>
    </tab-bar-item>
    <tab-bar-item path="/category" >
      <img src="~assets/img/tabbar/category.png" slot="item-icon">
      <img src="~assets/img/tabbar/category_active.png" slot="item-icon-active">
      <div slot="item-text">分类</div>
    </tab-bar-item>
    <tab-bar-item path="/cart" >
      <img src="~assets/img/tabbar/shopcart.png" slot="item-icon">
      <img src="~assets/img/tabbar/shopcart_active.png" slot="item-icon-active">
      <div slot="item-text">购物车</div>
    </tab-bar-item>
    <tab-bar-item path="/profile" >
      <img src="~assets/img/tabbar/profile.png" slot="item-icon">
      <img src="~assets/img/tabbar/profile_active.png" slot="item-icon-active">
      <div slot="item-text">我的</div>
    </tab-bar-item>
  </tab-bar>
</template>

<script>
  import TabBar from "../../../../../tabbar/src/components/tabbar/TabBar";
  import TabBarItem from "../../../../../tabbar/src/components/tabbar/TabBarItem";
    export default {
        name: "MainTabBar",
      components:{
        TabBarItem, TabBar
      }
    }
</script>

<style scoped>

</style>
